package com.example.donghuihui.androidframe;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
/**
 *BaseActivity
 */
public class BaseActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        AppManager.getAppManager().addActivity(this);
    }
    @Override
    protected void onResume() {
        super.onResume();
    }

    public void showToast(String str){
        BaseApplication.getInstance().showToast(str);
    }
}
